package com.dcy.common;

import lombok.Getter;

/**
 * @author dongcy
 * @date 2024/12/4 13:46
 * @description ResultEnum
 */
@Getter
public enum ResultEnum {

    SUCCESS(200, "成功"),
    FAIL(400, "失败");

    private Integer code;

    private String message;

    private ResultEnum(Integer code, String message) {
        this.code = code;
        this.message = message;
    }

}
